package com.doudou.base.resources.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.doudou.commons.entity.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户的详细信息
 *
 * @author 傻男人
 * @since 2020-05-14
 */

@Data
@TableName(value = "user_details_info",resultMap = "BaseResultMap")
public class UserDetailsInfo extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
	private Long id;
    /**
     * 用户昵称
     */
	@TableField("nike_name")
	private String nikeName;
    /**
     * 年龄
     */
	private Integer age;
    /**
     * 性别(0男1女3未知/保密)
     */
	private Integer gender;
    /**
     * 省
     */
	private String province;
    /**
     * 市
     */
	private String city;
    /**
     * 县/区
     */
	private String area;
    /**
     * 详细地址
     */
	private String address;
    /**
     * QQ
     */
	private String qq;

	private String photo;
    /**
     * 微信
     */
	private String wecat;
    /**
     * 用户的账号信息
     */
	@TableField("user_account_info_id")
	private Long userAccountInfoId;

	public class Meta {
        public static final String id = "id";
        public static final String photo = "photo";
        public static final String nikeName = "nike_name";
        public static final String age = "age";
        public static final String gender = "gender";
        public static final String province = "province";
        public static final String city = "city";
        public static final String area = "area";
        public static final String address = "address";
        public static final String qq = "qq";
        public static final String wecat = "wecat";
        public static final String userAccountInfoId = "user_account_info_id";
        public static final String createDate = "CREATE_DATE";
        public static final String updateDate = "UPDATE_DATE";
        public static final String delFlag = "del_flag";
    }
}